package com.hermit.alaskagulfknife4j.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author hermit
 * @data 2021/6/16
 * 测试实体
 */
@Data
public class User {

    @ApiModelProperty(required = true, notes = "Id", example = "1")
    private Integer id;

    @ApiModelProperty(required = true, notes = "姓名", example = "周杰伦")
    private String name;

    @ApiModelProperty(required = true, notes = "昵称", example = "Jay")
    private String username;

    @ApiModelProperty(required = true, notes = "密码", example = "123456")
    private String password;

    @ApiModelProperty(required = true, notes = "性别", example = "男")
    private String sex;

    @ApiModelProperty(required = true, notes = "地址", example = "中国台湾")
    private String address;

    @ApiModelProperty(required = true, notes = "备注", example = "他是一个著名的歌手")
    private String comment;

    @ApiModelProperty(required = true, notes = "是否删除", example = "0")
    private Integer deleteFlag;
}
